package com.syaccp.mapper;


import cn.hutool.db.sql.SqlExecutor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.syaccp.model.TExchargePackage;
import org.apache.ibatis.annotations.Mapper;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hsx
 * @since 2023-07-23
 */
@Mapper
public interface TExchargePackageMapper extends BaseMapper<TExchargePackage> {

    //模糊查询  根据 可使用时间 ， status状态 ，充值包名称
    List<TExchargePackage>TopUpPack(TExchargePackage tExchargePackage)throws SQLException;

    //根据 status状态和可使用时间来修改 删除状态
    int updatePackage() throws SQLException;

    int updatePackage2()throws SQLException;
}
